package com.fuyao.cloud.admin.bulletin.enums;

import com.fuyao.cloud.common.core.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author lyhil
 */

@Getter
@AllArgsConstructor
public enum BulletinStatusEnum implements BaseEnum {


    DRAFT("0", "草稿"),
    PUSH("1", "已发布");
    /**
     * 状态
     */
    private final String status;

    /**
     * 描述
     */
    private final String description;


    @Override
    public String getCode() {
        return this.getStatus();
    }

    @Override
    public String getName() {
        return this.getDescription();
    }
}
